<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>case.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="jquery-3.1.0.js"></script>
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
	<script type="text/javascript">
		$(function(){
			$("tr:odd").css("background","red");
			$("tr:even").not("[type='d']").css("background","green");
		})
	</script>
  </head>
  
  <body>
  	<table>
  		<tr type="d"><th>用户姓名</th><th>用户性别</th><th>用户年龄</th></tr>
  		<tr><td>无名</td><td>男</td><td>100</td></tr>
  		<tr><td>小明</td><td>男</td><td>不明</td></tr>
  		<tr><td>柯南</td><td>男</td><td>万年小学生</td></tr>
  	</table>
  </body>
</html>
